package com.goktech.sportsmall.mapper;

import com.goktech.sportsmall.bean.OrdersBean;
import com.goktech.sportsmall.bean.OrdersDetailsBean;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface OrdersMapper {

    int insertOrder(OrdersBean ordersBean);

    int insertOrderDetails(OrdersDetailsBean ordersDetailsBean);

    String selectByCreateTime(String time);

    String selectOidByUid(int u_id);

    OrdersBean selectByUid(int u_id);
}
